package com.fbee.smartcommunities.core;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * ClassName: com.fbee.smartcommunities.core
 * Datetime: 2024/8/16 下午4:26
 * Description:
 *   所有实体类的基类，都要继承这个类，继承id属性
 * @author 汪佳泉
 * @version 1.0
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Base implements Serializable { //
    @TableId(type = IdType.AUTO)
    private Integer id;
}
